using Unity.Entities;
using Unity.Mathematics;

namespace Gj
{
    internal struct AnimationData : IComponentData
    {
        public float value;
        public float from;
        public float to;
        public float time;
        public float delay;
        public LoopType loopType;
        public EaseType easeType;
        public bool start;
        public bool end;
        public float _time;
        public bool _invert;
        public bool stop;
    }

    internal struct AnimationEntityData : IComponentData
    {
        public Entity start;
        public Entity end;
    }

    internal struct AnimationTranslationData : IComponentData
    {
        public float3 start;
        public float3 end;
    }

    internal struct AnimationRotationData : IComponentData
    {
        public float3 start;
        public float3 end;
    }

    internal struct AnimationScaleData : IComponentData
    {
        public float3 start;
        public float3 end;
    }
}